﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using DAO;
using DTO;

namespace BUS
{
    public class HopMonAnBUS
    {
        public List<HopMonAnDTO> LayDanhSachKhachHangTheoMa(int ma)
        {
            HopMonAnDAO hmaDAO = new HopMonAnDAO();
            return hmaDAO.LayHopMonAnTheoMa(ma);
        }
        HopMonAnDAO hmaDAO = new HopMonAnDAO();
        public DataTable LayHopMonAnTheoMa2(int ma)
        {
            return hmaDAO.LayHopMonAnTheoMa2(ma);
        }

        //public DataTable LayHopMonAnTheoMa2(int ma, int chedo)
        //{
        //    return hmaDAO.LayHopMonAnTheoMa2(ma, chedo);
        //}
    }
}
